<!doctype html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
    <meta content="" name="description">
    <meta content="Mark Otto, Jacob Thornton, and Bootstrap contributors" name="author">
    <meta content="Jekyll v3.8.6" name="generator">
    <title>注册</title>
    <style>
        .bd-placeholder-img {
            font-size: 1.125rem;
            text-anchor: middle;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        @media (min-width: 768px) {
            .bd-placeholder-img-lg {
                font-size: 3.5rem;
            }
        }
    </style>
    <link href="https://v4.bootcss.com/docs/examples/sign-in/" rel="canonical">
    <!-- Bootstrap core CSS -->
    <link href="../webjars/bootstrap/3.4.1/css/bootstrap.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link rel="stylesheet" th:href="@{/static/css/signin.css}" type="text/css">
    <!-- 表单验证相关 -->
    <script src="../webjars/jquery/3.5.1/dist/jquery.js"></script>
    <script src="../webjars/bootstrap/3.4.1/js/bootstrap.js"></script>
    <link rel="stylesheet" th:href="@{/static/css/formValidation.css}">
    <script th:src="@{/static/js/formValidation.js}"></script>
    <script th:src="@{/static/js/framework/bootstrap.js}"></script>
    <script th:src="@{/static/js/language/zh_CN.js}"></script>
    <script th:src="@{/static/js/registerValidate.js}"></script>
</head>
<body class="text-center">
<form action="/login/saveNewUser" class="form-signin" method="post">
    <div class="alert alert-danger" role="alert" th:if="${msg} eq 'err'">注册失败，请重新注册</div>
    <svg class="icon" height="72" p-id="4069" t="1590983343213" version="1.1"
         viewBox="0 0 1024 1024" width="72" xmlns="http://www.w3.org/2000/svg">
        <path d="M284.804377 360.254363l177.952351-104.775683a7.675874 7.675874 0 0 0 0-13.240883l-179.167697-104.903614a7.483977 7.483977 0 0 0-7.547943 0L98.152703 242.237797a7.675874 7.675874 0 0 0 0 13.240883l179.103731 104.839649a7.483977 7.483977 0 0 0 7.547943 0z m464.390391 0l177.95235-104.775683a7.675874 7.675874 0 0 0 0-13.240883l-179.103732-104.903614a7.483977 7.483977 0 0 0-7.611908 0L562.543093 242.237797a7.675874 7.675874 0 0 0 0 13.240883l179.103732 104.839649a7.483977 7.483977 0 0 0 7.611908 0z m-22.963657 39.402821l-0.639657 208.527917a7.675874 7.675874 0 0 1-3.710005 6.588458 7.483977 7.483977 0 0 1-7.547943 0L535.165808 509.933911a7.675874 7.675874 0 0 1-3.837937-6.588459l0.639656-208.527916c0-5.948803 6.332596-9.594843 11.321915-6.652425l179.167697 104.903615a7.675874 7.675874 0 0 1 3.837937 6.588458z m-429.465163 0l0.639656 208.527917c0 5.884837 6.268631 9.530877 11.257949 6.588458L487.831251 509.933911a7.675874 7.675874 0 0 0 3.837937-6.588459l-0.639657-208.527916a7.675874 7.675874 0 0 0-3.837937-6.652425 7.483977 7.483977 0 0 0-7.483977 0l-179.167697 104.903615a7.675874 7.675874 0 0 0-3.837937 6.588458z m422.684807 295.265295l2.494659 0.895519a7.675874 7.675874 0 0 1 3.773972 6.588459l0.639656 208.527916a7.675874 7.675874 0 0 1-3.837937 6.652424l-179.103732 104.839649a7.547943 7.547943 0 0 1-11.38588-6.588459l-0.639656-208.527916a7.675874 7.675874 0 0 1 3.837937-6.652424l179.103732-104.839649a7.483977 7.483977 0 0 1 7.611908 0z m-410.851167 0.895519l179.167697 104.903614a7.675874 7.675874 0 0 1 3.837937 6.588459l-0.639656 208.527916a7.675874 7.675874 0 0 1-3.837937 6.588459 7.483977 7.483977 0 0 1-7.483978 0L300.411988 917.586797a7.675874 7.675874 0 0 1-3.837937-6.588459l0.639656-208.527916c0-5.948803 6.332596-9.594843 11.321915-6.652424z m643.81395-137.206252l2.494659 0.895519a7.675874 7.675874 0 0 1 3.773971 6.652424L959.257859 774.62364a7.675874 7.675874 0 0 1-3.773972 6.588458l-179.103732 104.903615a7.547943 7.547943 0 0 1-11.38588-6.652425l-0.639656-208.527916c0-2.750522 1.471209-5.245181 3.837937-6.652424l179.103732-104.839649a7.483977 7.483977 0 0 1 7.611909 0zM75.636805 559.507265l179.167697 104.903614c2.366728 1.279312 3.837937 3.837937 3.837938 6.588459l-0.639657 208.527916a7.675874 7.675874 0 0 1-3.837937 6.588459 7.483977 7.483977 0 0 1-7.483977 0L67.513171 781.276064A7.675874 7.675874 0 0 1 63.7392 774.687605l0.639656-208.527916c0-5.884837 6.268631-9.594843 11.257949-6.652424z m436.885174-18.358133l2.558625 0.895519 179.103732 104.903614a7.675874 7.675874 0 0 1 0 13.176918l-177.888385 104.775683a7.675874 7.675874 0 0 1-7.547943 0L329.58031 660.125183a7.675874 7.675874 0 0 1 0-13.240883l177.888385-104.775683a7.483977 7.483977 0 0 1 7.547943 0z m439.187937-253.943505l2.430693 0.959484a7.675874 7.675874 0 0 1 3.837937 6.652425l0.575691 208.527916a7.675874 7.675874 0 0 1-3.837937 6.588459l-179.103732 104.839648a7.547943 7.547943 0 0 1-11.321914-6.588458l-0.639657-208.527917c0-2.750522 1.407244-5.309146 3.837938-6.652424l179.103731-104.839649a7.483977 7.483977 0 0 1 7.547943 0zM76.404392 288.229077l179.103732 104.903614c2.430694 1.279312 3.837937 3.837937 3.837937 6.588459l-0.639656 208.527916a7.675874 7.675874 0 0 1-3.773971 6.588459 7.483977 7.483977 0 0 1-7.547943 0l-179.103732-104.839649a7.675874 7.675874 0 0 1-3.837937-6.588459l0.639656-208.527916c0-5.948803 6.268631-9.594843 11.321914-6.652424zM512.585945 0.127931l2.430693 0.895519 179.167698 104.839649a7.675874 7.675874 0 0 1 0 13.240883L516.295951 223.879665a7.356046 7.356046 0 0 1-7.547943 0L329.58031 119.040016a7.675874 7.675874 0 0 1 0-13.240883L507.468695 1.02345a7.483977 7.483977 0 0 1 7.547943 0z"
              fill="#6f42c1" p-id="4070"></path>
    </svg>
    <h1 class="h3 mb-3 font-weight-normal">注册</h1>

    <div class="form-group shadow-lg">
        <label for="userName">用户昵称</label>
        <input autofocus class="form-control" id="userName" name="userName" placeholder="用户昵称" required type="text">
    </div>
    <div class="form-group">
        <label for="userPassword">用户密码</label>
        <input class="form-control" id="userPassword" name="userPassword" placeholder="用户密码" required type="password">
    </div>
    <div class="form-group">
        <label for="userAccount">账号</label>
        <input class="form-control" id="userAccount" name="userAccount" placeholder="账号" required type="text">
    </div>
    <div class="form-group">
        <label for="userSex">性别</label>
        <select class="form-control" id="userSex" name="userSex">
            <option value="0">女</option>
            <option selected value="1">男</option>
            <option value="2">保密</option>
        </select>
    </div>
    <div class="form-group">
        <label for="userSignature">用户签名</label>
        <input class="form-control" disabled id="userSignature" name="userSignature" placeholder="用户签名" type="password">
    </div>
    <div class="form-group">
        <label for="userNumOfDevice">设备数量</label>
        <input class="form-control" id="userNumOfDevice"
               name="userNumOfDevice" placeholder="设备数量" type="number">
    </div>
    <div class="container btn-container">
        <div class="row clearfix" style="margin-bottom: 2px;">
            <button class="btn btn-lg btn-primary col-12 btn-block" type="submit">提交</button>
        </div>
    </div>
    <br>
    <p class="mt-5 mb-3 text-muted">&copy; 2020-2020 能力有限公司</p>
</form>
</body>
</html>
